﻿using Appliaction.Dto.Pinv;
using AutoMapper;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.Pinv
{
    public class PbProfils: Profile
    {
        public PbProfils() 
        {
            CreateMap<Pinv_pb, PbDeleteDto>().ReverseMap();
            CreateMap<Pinv_pb, Pinv_Pb_AddDto>().ReverseMap();
            CreateMap<Pinv_purwhsedetail, Pinv_Pb_detailsDto>().ReverseMap();

            CreateMap<Pinv_Po, Po_Audit_Dto>().ReverseMap();
            CreateMap<pinv_details, Po_details_Audit_Dto>().ReverseMap();
            CreateMap<Pinv_pb, Pb_Audit_Dto>().ReverseMap();
            CreateMap<Pinv_purwhsedetail, Pb_details_Audit_Dto>().ReverseMap();
            CreateMap<Pinv_pb, Pb_Audit_Dtos>().ReverseMap();
            CreateMap<Pinv_pb, PbUpdateDto>().ReverseMap();
            CreateMap<Pinv_pb, PbdetailsUpdateDto>().ReverseMap();
            CreateMap<PbdetailsUpdateDto, Pinv_purwhsedetail>().ReverseMap(); // 正确


        }
    }
}
